// 
// Decompiled by Procyon v0.5.36
// 

package com.orange.boot.dev2.service.impl;

import org.springframework.transaction.annotation.Transactional;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import com.orange.boot.dev2.service.ExpertService;
import com.orange.boot.dev2.entity.Expert;
import com.orange.boot.dev2.mapper.ExpertMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

@Service
public class ExpertServiceImpl extends ServiceImpl<ExpertMapper, Expert> implements ExpertService
{
    @Resource
    ExpertMapper expertMapper;
    
    @Transactional
    public Page<Expert> listExpertPage(final long pageNum, final long pageSize) {
        return this.expertMapper.getExpertList((Page<Expert>)new Page(pageNum, pageSize));
    }
}
